<?php

class CampoCpf extends CampoBase {
    
    protected function setPropriedadesPadrao() {
        $this->setTipoInput('text');
        $this->setClasseCss('campo_cpf');
        $this->addEvento('onfocus', 'mascaraCPF(this,event)');
        $this->addEvento('onblur', 'return mascaraCPF(this,event)');
        $this->addEvento('onkeydown', 'return mascaraCPF(this,event)');
    }
    
    public function getHtml() {
        return $this->getHtmlInput();           
    }

}
